-
-
Notifications
You must be signed in to change notification settings - Fork 262
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Updates to the react-pivottable component #79
base: master
Are you sure you want to change the base?
Conversation
…d modify. Made minor updates to Utilities as well.
…pand operations for complete attributes. Also cleanup some edge cases and pre-calculate the callbacks.
Interesting, thank you! Perhaps instead of modifying |
: Object.keys(this.props.renderers)[0]; | ||
|
||
const rendererCell = ( | ||
rendererCell() { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
are the changes here just refactoring or are they required for the new renderer to function?
The same might actually apply to |
Nicolas, Totally understood. This is a pretty large PR. And apologies for taking so long to get back to you. Work just kept getting in the way. For better understanding the changes:
Regarding splitting out the subtotal code:
Hope this helps! |
OK, thanks for the detailed response! I promise to take a close look in the coming week: I'm just buckling down for a big release at the moment. |
One thing which would make both reviewing and merging easier is the addition of a test or two for the modifications to |
That I can do. Also if it'll help, I can re-arrange the commits into something a bit more logical. Feel free to ask. |
Your description of the commits is great, no need to rearrange anything! A test would help and then it's a question of me finding the time to QA/review :) |
… more tests for PivotData. Also added a separate build target.
FYI: I added in that test for PivotData and the prepare script. Just wondering if you had any other requests. Thanks. |
Hi, Just wondering if you'd gotten a chance to take a look at this. Thanks. |
Hello again Nicolas, Got a chance yet? Any way I can help? Thanks. |
I'm looking at this today. Apologies on the delay. |
OK so I cloned this and ran |
In terms of getting this merged in, this really is too big a PR to easily review... Do you think you could submit a series of smaller ones or something? Maybe one for the row/total columns? And a separate one that just does some of the cleanup/refactoring without changing the behaviour? all in the service of making the bigger behaviour-change PR easier to review? Sorry, I know it's a big ask after a long silence, but I would like to get this sorted and release your hard work! |
I'll take a look at the errors and split up the pr. Thanks for taking a look. |
Did you still intend to look at the errors and/or break up this PR into more-digestible chunks? |
Yes. Eventually... Work has just gotten busy. (And yes, I recognize the irony in pushing for a review and then holding up progress myself. My sincere apologies.) |
No worries ;) |
Any progress on this - I'm presuming the PR is a step forward for the module... is it best to spend more time and break it up into pieces, or accept it as is? |
I recommend adding to the current master. I don't know when I'll get around to updating this PR and besides the changes are pretty self contained in the table renderers. |
Bump. Willing to sponsor project updates. |
@thetwosents please email me at [email protected] and we can chat about sponsorship? |
This pull request adds in a number of pivot-table features. Primary among them are:
The subtotals renderers work with the heatmap logic and support collapsing sub-entries. They also play nicely with the aggregation framework, callbacks, etc... I've attached a screenshot below demonstrating the subtotal facility (the bottom table has rowTotals disabled).
(Apologies in advance for dumping such a large PR on your lap. I'd be happy to explain the changes and to update it to conform to your coding guidelines, etc...)
Thanks.
-- PG